Today, I am in a bad mood. The reason is that I spent 5 yuan to buy a scratch color and gave it a 100 shopping spree. I feel happy. Now, let's get started. We will not talk about the introduction of GDI + here. In short, it is much more convenient
Preparation: Local photo resources, GifviewGifview Code:/** * Start playing the animation at the end of the call, and if you need to specify when to play it, just put the timer's start in the right place. By changing the Cfdictonaryraf, or
Preparation: Local photo resources, GifviewGifview Code:/** * Start playing the animation at the end of the call, and if you need to specify when to play it, just put the timer's start in the right place. By changing the Cfdictonaryraf, or
Http://www.deadc0de.com/archives/insert-gif-to-richedit.html#more-14
Recently I am working on IM software. I need to insert an expression into RichEdit. The expression is a dynamic GIF image.
Since I have not developed RichEdit before, Baidu has
Dock mode + GIF, dock mode gif
UIView * redView = [[UIView alloc] initWithFrame: CGRectMake (200,200,)];
RedView. backgroundColor = [UIColor redColor];
// Allows the sub-view to zoom in or out. The default value of autoresizeSubviews is YES.
RedView.
Link: http://user.qzone.qq.com/463450970/blog/1220702709
For GIF animated images, use cimagedecoder to decode and display them. There are some instructions on the Internet. Here is some of the code I have debugged. You can play it. It's your own
"Frame-by-frame animation" and "playing GIF" seem to be irrelevant to the two gender, but they are not actually!
Because the image control in Silverlight does not support the direct use of GIF animation as the source, it is like the commonly used "
The bitmap provided by gdiplus supports reading and displaying GIF files.
However, for some GIF images, the interval between frames may be 0. Therefore, the default interval is 100 ms in this case. I don't know if I am not correct. If you have any
Qt Quick provides a class animatedimage that can play Gif animations, using simple, here is an example.Here is the Gif image used:AnimatedimageThe Animatedimage provides five properties:
Currentframe, indicating the number of frames
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.